import { proxy, useSnapshot } from 'valtio';
import { WorkItem } from './component';
import { ColumnsType } from 'antd/lib/table';

interface WorkStateInterface {
  currentWorkId?: string;
  currentItemKeyList?: string[];
  currentItemTitleId?: string;
  currentTabId: string;
}
const appWorkState = proxy<WorkStateInterface>({
  currentWorkId: '',
  currentItemKeyList: undefined,
  currentItemTitleId: undefined,
  currentTabId: 'f1',
});

export default appWorkState;
